The animation was invisible because it was going out of screen, also
add a mirrored version of the image to the theme.
https://bugzilla.gnome.org/show_bug.cgi?id=584662
theme/calendar-today.svg \
theme/close-window.svg \
theme/close.svg \
- theme/corner-ripple.png \
+ theme/corner-ripple-ltr.png \
+ theme/corner-ripple-rtl.png \
theme/dash-placeholder.svg \
theme/filter-selected-ltr.svg \
theme/filter-selected-rtl.svg \
.ripple-box {
width: 52px;
height: 52px;
- background-image: url("corner-ripple.png");
+ background-image: url("corner-ripple-ltr.png");
+}
+
+.ripple-box:rtl {
+ background-image: url("corner-ripple-rtl.png");
}
.switcher-arrow {
x: x,
y: y });
ripple._opacity = startOpacity;
+ if (ripple.get_direction() == St.TextDirection.RTL)
+ ripple.set_anchor_point_from_gravity(Clutter.Gravity.NORTH_EAST);
Tweener.addTween(ripple, { _opacity: finalOpacity,
scale_x: finalScale,
scale_y: finalScale,